package com.itheima.xx.a_demo01;

import javax.servlet.*;
import java.io.IOException;

/**
 * Description:
 *
 * @author codermao
 * @date 2023/11/1 09:22
 */
public class HelloWorldServlet implements Servlet {
    public HelloWorldServlet(){
        System.out.println("无参构造器。。。");
    }

    @Override
    public void init(ServletConfig servletConfig) throws ServletException {
        System.out.println("init 。。。");
    }

    @Override
    public ServletConfig getServletConfig() {
        return null;
    }

    @Override
    public void service(ServletRequest servletRequest, ServletResponse servletResponse) throws ServletException, IOException {
        System.out.println("service .......");
    }

    @Override
    public String getServletInfo() {
        return null;
    }

    @Override
    public void destroy() {
        System.out.println("destory。。。");
    }
}
